package com.mzkj.wanjulaile.mobile.api.modules.account.mapper;

import com.mzkj.wanjulaile.mobile.api.modules.account.entity.Baby;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wangxw on 16/7/26.
 */
@Repository
public interface BabyMapper  {

    List<Baby> getListByAccountId(String id);

    void  insert(Baby baby);

    void update(Baby baby);

    Baby get(String id);

    String getBabyAbilitiesByAge(int babyMonths);
}
